import http from '../request'

export default {
  async getPosts() {
    return await http.get('/posts')
  }
}
